package com.yygo.dao;

import com.yygo.model.LoanProduct;

import java.util.List;
import java.util.Set;

/**
 * Created by tiansha on 2015/6/26.
 */
public interface LoanProductDao extends GenericDao<LoanProduct, Long> {

    LoanProduct loadLoanProduct(Long id);
    Set<LoanProduct> getLoanProductsByBond(Long bondId, boolean isSecond);
    List<LoanProduct> getAll(boolean deleted) ;
}
